package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;

import java.util.List;
import java.util.Map;

public interface ReservationService {
    void add(ReservationDto reservationDto);

    PageResponse<ReservationVo> getByPage(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);

    List<Map<String,String>> countByTime(Long time);
}
